<?php
class BasePageContext
{
	public $get = array();
	public $post = array();
	public $request = array();
	
	private $_attr = array();
	
	public function __construct()
	{
		$this->get = $_GET;
		$this->post = $_POST;
		$this->request = $_REQUEST;
	}
	
	public function setAttribute($key, $value)
	{
		$this->_attr[$key] = $value;
	}
	
	public function getAttribute($key)
	{
		return $this->_attr[$key];
	}
}
?>